import mongoose from "mongoose";

const userMIBSchema = mongoose.Schema(
  {
    name: { type: String, required: true },
    user: { type: mongoose.Schema.Types.ObjectId, ref: "User" },
    message: {
      type: Array,
    },
  },
  { timestamps: true }
);

const userMIB = mongoose.model("UserMIB", userMIBSchema);

export default userMIB;
